<?php

namespace app\admin\model\account;


use app\admin\model\record\RecordUserWinJackpotModel;

/**
 * @author tangsan
 * @package app\admin\model
 */
class AccountsInfoModel extends BaseModel
{
    // 设置数据表名
    protected $table = "AccountsInfo";

    public function recordUserWinJackpot()
    {
        // 这是我改的代码，你看通过不
        return $this->hasMany(RecordUserWinJackpotModel::class,'UserID', 'UserID');
    }
}